home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / listings / v_11_08 / 1108029a < prev    next >
Text File  |  1993-05-03  |  345b  |  15 lines

  1. enter with vertex CurrentPoint
  2. IF first point THEN 
  3.     store CurrentPoint as FirstPoint for later use
  4. ELSEIF the line from LastPoint to CurrentPoint
  5.         intersects edge THEN
  6.     output the intersection point
  7. ENDIF
  8. IF CurrentPoint is on visible side of edge THEN
  9.     output CurrentPoint
  10. ENDIF
  11. store CurrentPoint as LastPoint for later use
  12.  
  13.  
  14.  
  15.